package com.smmisia.article.enums;

import lombok.Getter;

@Getter
public enum TimeEnum {

    TEN_MINUTE(10, "10分钟"),

    ONE_HOUR(1, "1小时"),

    ONE_DAY(1, "1天"),

    ONE_WEEK(1, "1周"),

    ONE_MONTH(1, "1月"),

    ONE_YEAR(1, "1年");


    private Integer code;

    private String message;

    TimeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
